package com.aaa.pojo.yy;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ViewResultSds {
    int id;
    String name;
    String phone;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )

    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    Date createTime;
    int forward;
    int inversion;
    int testPlanId;

    @Override
    public String toString() {
        return "ResultSds{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", createTime=" + createTime +
                ", forward=" + forward +
                ", inversion=" + inversion +
                ", testPlanId=" + testPlanId +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getForward() {
        return forward;
    }

    public void setForward(int forward) {
        this.forward = forward;
    }

    public int getInversion() {
        return inversion;
    }

    public void setInversion(int inversion) {
        this.inversion = inversion;
    }

    public int getTestPlanId() {
        return testPlanId;
    }

    public void setTestPlanId(int testPlanId) {
        this.testPlanId = testPlanId;
    }

    public ViewResultSds() {
    }

    public ViewResultSds(int id, String name, String phone, Date createTime, int forward, int inversion, int testPlanId) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.createTime = createTime;
        this.forward = forward;
        this.inversion = inversion;
        this.testPlanId = testPlanId;
    }
}
